package com.feihong.txgw.json;

import com.feihong.txgw.model.bean.home.ProductBaseModel;

import java.util.List;

/**
 * Created by Sabirjan on 2017/6/28.
 * TXGWApp.
 * 飞宏电子
 */

public class HomeJSON {

    private int code;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public HomeData getData() {
        return data;
    }

    public void setData(HomeData data) {
        this.data = data;
    }

    private HomeData data;

    public static class HomeData
    {

        private TopdataBean topdata;
        private List<HomeDataBean> data;
        private int msg_number;


        public int getMsg_number() {
            return msg_number;
        }

        public void setMsg_number(int msg_number) {
            this.msg_number = msg_number;
        }

        public TopdataBean getTopdata() {
            return topdata;
        }

        public void setTopdata(TopdataBean topdata) {
            this.topdata = topdata;
        }

        public List<HomeDataBean> getData() {
            return data;
        }

        public void setData(List<HomeDataBean> data) {
            this.data = data;
        }
    }

    public static class TopdataBean {


        private String topbgimg;
        private List<MessageBean> message;
        private List<MenuitemsBean> menuitems;

        public String getTopbgimg() {
            return topbgimg;
        }

        public void setTopbgimg(String topbgimg) {
            this.topbgimg = topbgimg;
        }

        public List<MessageBean> getMessage() {
            return message;
        }

        public void setMessage(List<MessageBean> message) {
            this.message = message;
        }

        public List<MenuitemsBean> getMenuitems() {
            return menuitems;
        }

        public void setMenuitems(List<MenuitemsBean> menuitems) {
            this.menuitems = menuitems;
        }

        public static class MessageBean {

            private String title;
            private String type;
            private String url;
            private String id;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }
        }

        public static class MenuitemsBean {


            private String name;
            private String action;
            private String status;
            private String icon;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getAction() {
                return action;
            }

            public void setAction(String action) {
                this.action = action;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }
        }
    }

    public static class HomeDataBean {

        private String list_name;
        private String list_des;
        private String list_type;
        private String more_action;
        private List<ProductBaseModel> items;

        public String getList_name() {
            return list_name;
        }

        public void setList_name(String list_name) {
            this.list_name = list_name;
        }

        public String getList_des() {
            return list_des;
        }

        public void setList_des(String list_des) {
            this.list_des = list_des;
        }

        public String getList_type() {
            return list_type;
        }

        public void setList_type(String list_type) {
            this.list_type = list_type;
        }

        public String getMore_action() {
            return more_action;
        }

        public void setMore_action(String more_action) {
            this.more_action = more_action;
        }

        public List<ProductBaseModel> getItems() {
            return items;
        }

        public void setItems(List<ProductBaseModel> items) {
            this.items = items;
        }
    }
}
